home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / pc / sample code / interapplication comm / makestartupaliastome / packageexample / readme < prev   
Encoding:
Text File  |  2000-06-23  |  1.6 KB  |  31 lines

  1. PackageExample
  2.  
  3. The Mac OS 9 packaging mechanism allows application writers to consolidate an application along with a number of support files into a single folder that appears and behaves in the finder's windows as if it were a single application file.  It is often useful to bundle a number of AppleScripts with applications that perform tasks closely interrelated to the operating system or the finder, but it is often of no value to the user to leave all of these scripts out in the open.  Now, with the advent of packages, it is possible to "hide" supporting scripts inside of an application's package folder where they are conveniently out of the end user's way and exclusively available for your application to use. 
  4.  
  5. The contents of this folder illustrate encapsulating an application and it's supporting AppleScript files into a package.  Here and application and it's supporting AppleScript files are hidden away inside of a package.  The application itself is free to call upon the facilities provided by the AppleScripts and, for the end user, this functionality appears to be seemlessly bundled with the application.
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25. If you are interested in creating your own Mac OS 9 packages, then you may wish to consult the following sources of information:
  26.  
  27. • The technote "Packages in Mac OS 9", located at http://developer.apple.com/technotes/tn/tn1188.html, provides a full explanation of the Mac OS 9 packaging format.
  28.  
  29. • The enclosed PackageTool along with full source code and some documentation can be obtained from the addresss http://developer.apple.com/samplecode/Sample_Code/Human_Interface_Toolbox/PackageTool.htm.
  30.  
  31.